<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/6/10
  Time: 15:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="/static/themes/icon.css">
    <link type="text/css" rel="stylesheet" href="/static/themes/default/easyui.css">
    <script type="text/javascript" src="/static/jquery.min.js"></script>
    <script type="text/javascript" src="/static/jquery.easyui.min.js"></script>
</head>
<body>

<form id="stage-from-save" action="save.action" method="post">
    学科<input class="easyui-combobox" name="profession.id" data-options="valueField:'id',textField:'name',url:'/profession/professionListAjax.action'" />
    <br />
    阶段名<input class="easyui-textbox" name="name">
    <a id="stage-save-btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'">保存</a>
</form>
<script type="text/javascript">
    $(function(){
        $('#stage-from-save').form({
        success:function(data){
            alert(data);
        }
    });
    $('#stage-save-btn').click(function(){
        $('#stage-from-save').submit();
    })  ;

    })

</script>


</body>
</html>
